Update dependency @ai-sdk/anthropic to v3#48
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
cadf3f8 to
1016800
Compare
1016800 to
3770097
Compare
3770097 to
a7a354e
Compare
a7a354e to
eb5e6cf
Compare
eb5e6cf to
e91b5df
Compare
e91b5df to
76963b5
Compare
76963b5 to
2f7e0c6
Compare
2f7e0c6 to
c686b11
Compare
c686b11 to
df0b8ab
Compare
df0b8ab to
a45ab32
Compare
a45ab32 to
050b089
Compare
050b089 to
8ae1931
Compare
8ae1931 to
876b5be
Compare
876b5be to
caa8461
Compare
105ccd5 to
8af2a21
Compare
8af2a21 to
3715694
Compare
3715694 to
e9d253b
Compare
e9d253b to
7b3c5ef
Compare
7b3c5ef to
5123f01
Compare
5123f01 to
1b1a155
Compare
1b1a155 to
f011a86
Compare
f011a86 to
06840a2
Compare
06840a2 to
b683df5
Compare
b683df5 to
a32b1b5
Compare
a32b1b5 to
6c9c5ca
Compare
6c9c5ca to
161a0d2
Compare
161a0d2 to
6158280
Compare
6158280 to
5262e69
Compare
5262e69 to
067e75c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.2.6→^3.0.0Release Notes
vercel/ai (@ai-sdk/anthropic)
v3.0.73Compare Source
Patch Changes
f8c9ae4: feat(anthropic): sanitize the unsupported JSON schema validation propertiesa727da4: chore: ensure consistent import handling and avoid import duplicates or cyclesa727da4]v3.0.72Compare Source
Patch Changes
a7f3c72: trigger release for all packages after provenance setupa7f3c72]v3.0.71Compare Source
Patch Changes
95b4fe0: fix(provider/anthropic): stop addingfine-grained-tool-streaming-2025-05-14beta forclaude-opus-4-7v3.0.70Compare Source
Patch Changes
2ff8d57: feat(provider/anthropic): add support for Opus 4.7 and relevant API enhancementsv3.0.69Compare Source
Patch Changes
61f1a61: feat (provider/anthropic): add support for inference_geo provider optionv3.0.68Compare Source
Patch Changes
d42076d: Add AI Gateway hint to provider READMEsv3.0.67Patch Changes
6247886]v3.0.66Patch Changes
0469aed]v3.0.65Patch Changes
94aed06: fix(anthropic): allow both temperature and topP for non-Anthropic models using the Anthropic-compatible APIThe temperature/topP mutual exclusivity check now only applies to known Anthropic models (model IDs starting with
claude-). Non-Anthropic models using the Anthropic-compatible API (e.g. Minimax) can now send both parameters as required by their APIs.v3.0.64Patch Changes
05b8ca2: feat (provider/anthropic): support passing metadata.user_idv3.0.63Patch Changes
055cd68: fix: publish v6 to latest npm dist tag055cd68]v3.0.62Compare Source
Patch Changes
41c6a56: fix(anthropic): skip passing beta header for tool search toolsv3.0.61Patch Changes
2381567: fix(vertex): throw warning when strict: true for vertexAnthropicv3.0.59Compare Source
Patch Changes
64ac0fd]v3.0.58Compare Source
Patch Changes
3fb4e70: feat(anthropic): support eagerInputStreaming option for fine-grained tool streamingad4cfc2]v3.0.57Compare Source
Patch Changes
824b295]v3.0.56Compare Source
Patch Changes
e49c34d: feat(anthropic): expose anthropic.anthropicBeta to downstream providerse49c34d: feat(anthropic): expose anthropic.anthropicBeta to downstream providerv3.0.55Compare Source
Patch Changes
7531e72: fix(provider/anthropic): handle encrypted_code_execution_result for multi-turn with web_fetch/web_search2026020v3.0.54Compare Source
Patch Changes
56c67d5: feat(provider/anthropic): add support for Anthropic web toolsweb_fetch_20260209andweb_search_20260209v3.0.53Compare Source
Patch Changes
89caf28: fix(openai-compat): decode base64 string datav3.0.52Compare Source
Patch Changes
08336f1]v3.0.51Compare Source
Patch Changes
64a8fae: chore: remove obsolete model IDs for Anthropic, Google, OpenAI, xAIv3.0.50Compare Source
Patch Changes
58bc42d]v3.0.49Compare Source
Patch Changes
d98d9ba: Migrated deprecatedoutput_formatparameter tooutput_config.formatfor structured outputs + Enabled native structured output support for Bedrock Anthropic models viaoutput_config.format.v3.0.48Compare Source
Patch Changes
2164cdf: feat(anthropic): add the new code_execution toolv3.0.47Compare Source
Patch Changes
17978c6: PasscacheControlprovider option as top-levelcache_controlin Anthropic API request body to support automatic caching.v3.0.46Compare Source
Patch Changes
b094c07: fix compaction_delta streaming schema to allow null contentv3.0.45Compare Source
Patch Changes
2a1c664: feat(provider/anthropic): add support for new Claude Sonnet 4.6 modelv3.0.44Compare Source
Patch Changes
23ac4a3: fix(provider/anthropic): minor follow up to support no-op speed standardv3.0.43Compare Source
Patch Changes
4024a3a]v3.0.42Compare Source
Patch Changes
99fbed8: feat: normalize provider specific model options type names and ensure they are exportedv3.0.41Compare Source
Patch Changes
c60b393: feat(anthropic): add the new compaction featurev3.0.40Compare Source
Patch Changes
8c2b1e1: fix(provider/anthropic): include actual raw usage data forresponse.usage.rawwhen streamingv3.0.39Compare Source
Patch Changes
0a0d29c: feat(anthropic): add support for Opus 4.6 fast modev3.0.38Compare Source
Patch Changes
7168375]v3.0.37Compare Source
Patch Changes
e288302: feat(anthropic): add support for Opus 4.6v3.0.36Compare Source
Patch Changes
1652320: feat(anthropic): support custom tool-reference content for deferred tool loadingv3.0.35Compare Source
Patch Changes
53f6731]v3.0.34Compare Source
Patch Changes
96936e5]v3.0.33Compare Source
Patch Changes
445cbe3: fix streaming context_management field location - was incorrectly expected inside delta object but API returns it at message_delta root levelv3.0.32Compare Source
Patch Changes
c33343b: fix(anthropic): add missing param in tool schemav3.0.31Compare Source
Patch Changes
2810850]v3.0.30Compare Source
Patch Changes
1524271: chore: add skill information to README filesv3.0.29Compare Source
Patch Changes
b9d105f: Fix cache usage reporting for anthropic streamv3.0.28Compare Source
Patch Changes
2445da4: fix(provider/anthropic): populate outputTokens.text field in usagev3.0.27Compare Source
Patch Changes
572ea12: feat(anthropic): allow custom/dynamic key for providerOptionsv3.0.26Compare Source
Patch Changes
2c70b90: chore: update provider docsv3.0.25Compare Source
Patch Changes
0bb9bcd: feat(provider/anthropic): add computer_20251124 tool for claude opus 4.5v3.0.24Compare Source
Patch Changes
462ad00]v3.0.23Compare Source
Patch Changes
4de5a1d: chore: excluded tests from src folder in npm package4de5a1d]v3.0.22Compare Source
Patch Changes
8ccf04b: AddauthTokenoption to supportAuthorization: Bearerauthentication as an alternative tox-api-keyheader authentication.v3.0.21Compare Source
Patch Changes
662d359: feat(anthropic): deferred results for tool search toolv3.0.20Compare Source
Patch Changes
2b8369d: chore: add docs to package distv3.0.19Compare Source
Patch Changes
8dc54db: chore: add src folders to package bundlev3.0.18Compare Source
Patch Changes
c10bd49: fix(anthropic): handle web_search_result_location citations and add webFetch documents to citationDocumentsv3.0.17Compare Source
Patch Changes
4729bed: Fix JSON parsing crash when handling Anthropic web_fetch tool error resultsv3.0.16Compare Source
Patch Changes
d36fa72: Not sending structured output beta header for json response toolv3.0.15Compare Source
Patch Changes
5c090e7]v3.0.14Compare Source
Patch Changes
46f46e4]v3.0.13Compare Source
Patch Changes
1b11dcb]v3.0.12Compare Source
Patch Changes
34d1c8a]v3.0.11Compare Source
Patch Changes
8c1c6e3: fix(anthropic): add application/json type regex matchingv3.0.10Compare Source
Patch Changes
02d9b68: fixinput_tokenscompatibilityv3.0.9Compare Source
Patch Changes
de2399b: fix(anthropic): assign type urls in file parts correctlyv3.0.8Compare Source
Patch Changes
bee4f82: fix(anthropic): enable structured output support for claude-haiku-4-5This fixes an issue where the
strict: trueproperty was not included in the request body when using tools with Claude Haiku 4.5, becausesupportsStructuredOutputwas incorrectly set tofalsefor this model.Claude Haiku 4.5 supports structured outputs, so the
strictproperty should be forwarded to the Anthropic API when specified on tools.v3.0.7Compare Source
Patch Changes
d937c8f]v3.0.6Compare Source
Patch Changes
2231e84: fix(anthropic): implement temperature/topP mutual exclusivityResolves the Anthropic API breaking change where sampling parameters must use only
temperatureORtop_p, not both. When both parameters are provided:See Anthropic migration guide: https://platform.claude.com/docs/en/about-claude/models/migrating-to-claude-4
v3.0.5Compare Source
Patch Changes
3fb4e70: feat(anthropic): support eagerInputStreaming option for fine-grained tool streamingad4cfc2]v3.0.4Compare Source
Patch Changes
d98d9ba: Migrated deprecatedoutput_formatparameter tooutput_config.formatfor structured outputs + Enabled native structured output support for Bedrock Anthropic models viaoutput_config.format.v3.0.3Compare Source
Patch Changes
0a0d29c: feat(anthropic): add support for Opus 4.6 fast modev3.0.2Compare Source
Patch Changes
b9d105f: Fix cache usage reporting for anthropic streamv3.0.1Compare Source
Patch Changes
8dc54db: chore: add src folders to package bundlev3.0.0Compare Source
Major Changes
dee8b05: ai SDK 6 betaMinor Changes
78928cb: release: start 5.1 betaPatch Changes
0c3b58b: fix(provider): add specificationVersion to ProviderV30adc679: feat(provider): shared spec v350b70d6: feat(anthropic): add programmatic tool callingb8ea36e: feat(provider/anthropic): Anthropic-native structured outputsed537e1: Add support for pdf file in tool result in anthropic2109385: 'fix(anthropic): Opus 4.5maxOutputTokensbump32000->64000'7c4328e: Adds url-based pdf and image support for anthropic tool results8d9e8ad: chore(provider): remove generics from EmbeddingModelV3Before
After
f33a018: chore: add model ID for Haiku 4.5b2dbfbf: add context_management for anthropicdce03c4: feat: tool input examples2625a04: feat(openai); update spec for mcp approval11e4abe: feat(provider/anthropic): web search tool updatesf13958c: chore(antropic): allow custom names for provider-defined toolsafb00e3: feat(provider/anthropic): add text_editor_20250728 tool supportAdd text_editor_20250728 tool for Claude 4 models (Sonnet 4, Opus 4, Opus 4.1) with optional max_characters parameter and no undo_edit command support.
95f65c2: chore: use import * from zod/v4954c356: feat(openai): allow custom names for provider-defined tools9e35785: fix(anthropic): send {} as tool input when streaming tool calls without arguments544d4e8: chore(specification): rename v3 provider defined tool to provider toola5f77a6: fix(anthropic): remove outdated tool name docsca07285: feat(anthropic): add prompt caching validationa5a8db4: chore: add model ID for Sonnet 4.51742445: Support for custom provider name in google and anthropic providerse8109d3: feat: tool execution approval87db851: fix(vertex/anthropic): passing beta header only for structured outputsf6603b7: fix(provider/anthropic): correct raw usage informationed329cb: feat:Provider-V33bd2689: feat: extended token usage1cad0ab: feat: add provider version to user-agent header2049c5b: Fix handling of error in web fetch tool in anthropic4c5a6be: feat(provider/anthropic): default and limit maxTokens based on model9e1e758: fix(anthropic): use default thinking budget when unspecified589a4ee: fix(anthropic): simplify pulling first chunk8dac895: feat:LanguageModelV36f845b4: Add support for 2025-08-25 code execution tool9354297: feat(provider/anthropic): add support for Agent Skills03849b0: throw 500 error when the first stream chunk is an error0ae783e: feat(anthropic): add the new tool search tools457318b: chore(provider,ai): switch to SharedV3Warning and unified warningseb56fc6: fix(anthropic): pull first chunk without async IIFEfa35e95: feat(provider/anthropic): add web fetch tool80894b3: add returnfile_idproperty for anthropic code-execution-20250825 to download output files.366f50b: chore(provider): add deprecated textEmbeddingModel and textEmbedding aliases81d4308: feat(provider/anthropic): mcp connector support6fc35cb: Retain user-supplied betas.f4db7b5: feat(provider/anthropic): expose container from response in provider metadata6c38080: fix(anthropic): support pdf responses in web_fetch_tool_result schema validation4616b86: chore: update zod peer depenedency versiondedf206: feat(provider/anthropic): expose stop_sequence in provider metadata983e394: chore(provider/anthropic): add missing provider options jsdoc0e38a79: support ANTHROPIC_BASE_URLcf4e2a9: Add support for tool calling with structured outputf4e4a95: feat(provider/anthropic): enable fine grained tool streaming by default21f378c: fix(provider/anthropic): do not limit maxTokens when model id is unknownc5440c5: chore(provider/anthropic): update anthropic model ids1d15673: fix(provider/anthropic): clamp temperature to valid 0-1 range with warnings9cff587: chore(provider/anthropic): lazy schema loadingd129d89: chore(anthropic): remove unnecessary doc3794514: feat: flexible tool output content supporte1e2821: fix(provider/anthropic): support null title in web fetch toolcbf52cd: feat: expose raw finish reason10c1322: fix: moved dependency@ai-sdk/test-serverto devDependenciesd08308b: feat(provider/anthropic): memory tool05d5b9a: fix(anthropic): make title field nullable in web_fetch and web_search tool output schemas1bd7d32: feat: tool-specific strict mode83aaad8: Opus 4.5 andeffortprovider optionUpdated dependencies
v2.0.79Compare Source
Patch Changes
783fa6c: chore: ensure consistent import handling and avoid import duplicates or cycles8ddc817: feat(anthropic): sanitize the unsupported JSON schema validation properties783fa6c]v2.0.78Compare Source
Patch Changes
0a00b9b: trigger release for all packages after provenance setup0a00b9b]v2.0.77Compare Source
Patch Changes
5543cd1: Add AI Gateway hint to provider READMEse1ed246: fix(anthropic): use default thinking budget when unspecifiedv2.0.76Compare Source
Patch Changes
2fe3997: feat (provider/anthropic): add support for inference_geo provider optionv2.0.75Patch Changes
4b40033: feat(provider/anthropic): add support for Opus 4.7 and relevant API enhancementsv2.0.74Patch Changes
a27a978]v2.0.73Patch Changes
42bc840: fix(anthropic): move claude-haiku-4-5 to the 4-5 model group in getModelCapabilitiesMoves
claude-haiku-4-5from theclaude-sonnet-4-/claude-3-7-sonnetgroup (structured output: false) to theclaude-sonnet-4-5/claude-opus-4-5group (structured output: true), aligning with main and release-v6.0.v2.0.72Compare Source
Patch Changes
98bd0e2: feat(provider/anthropic): support new code_execution toolv2.0.71Compare Source
Patch Changes
b0a0821: feat (provider/anthropic): support passing metadata.user_idv2.0.70Compare Source
Patch Changes
a9a7f73: feat(anthropic): support eagerInputStreaming option for fine-grained tool streamingv2.0.69Compare Source
Patch Changes
6a2f01b]17d64e3]v2.0.68Compare Source
Patch Changes
63bf188: feat(anthropic): expose anthropic.anthropicBeta to downstream providersv2.0.67Compare Source
Patch Changes
e1b08a6: PasscacheControlprovider option as top-levelcache_controlin Anthropic API request body to support automatic caching.v2.0.66Compare Source
Patch Changes
b153525: fix compaction_delta streaming schema to allow null contentv2.0.65Compare Source
Patch Changes
fe42fd3: feat(provider/anthropic): add support for new Claude Sonnet 4.6 modelv2.0.64Compare Source
Patch Changes
9d5c1b1: fix(provider/anthropic): minor follow up to support no-op speed standardv2.0.63Compare Source
Patch Changes
e551c84: fix(anthropic): map proper context management tools for anthropicv2.0.62Compare Source
Patch Changes
20565b8]v2.0.61Compare Source
Patch Changes
af58c05: feat(anthropic): add the new compaction featurev2.0.60Compare Source
Patch Changes
368f270: feat(anthropic): add support for Opus 4.6 fast modev2.0.59Compare Source
Patch Changes
ca1f53a: feat(anthropic): add support for Opus 4.6v2.0.58Compare Source
Patch Changes
8479fe8: trigger for backport release008ce2f: fixinput_tokenscompatibilityv2.0.57Compare Source
Patch Changes
4953414: fix: trigger new release for@ai-v5dist-tag4953414]v2.0.56Compare Source
Patch Changes
3716d34: fix(anthropic): support pdf responses in web_fetch_tool_result schema validationv2.0.55Compare Source
Patch Changes
ef6d784]v2.0.54Compare Source
Patch Changes
ccf34f3: fix(anthropic): make title field nullable in web_fetch and web_search tool output schemasv2.0.53Compare Source
Patch Changes
65dee10: fix(anthropic): simplify pulling first chunkv2.0.52Compare Source
Patch Changes
518e786: fix(anthropic): send {} as tool input when streaming tool calls without argumentsv2.0.51Compare Source
Patch Changes
a54839c: fix(anthropic): pull first chunk without async IIFEv2.0.50Compare Source
Patch Changes
d1dbe5d: throw 500 error when the first stream chunk is an errord1dbe5d]v2.0.49Compare Source
Patch Changes
dcdfeb7: Retain user-supplied betas.v2.0.48Compare Source
Patch Changes
f2c6cbd: feat(provider/anthropic): Anthropic-native structured outputsv2.0.47Compare Source
Patch Changes
3a7a427: 'fix(anthropic): Opus 4.5maxOutputTokensbump32000->64000'v2.0.45Compare Source
Patch Changes
54b7c08: fix(provider/anthropic): clamp temperature to valid 0-1 range with warningsv2.0.44Compare Source
Patch Changes
056c471]v2.0.43Compare Source
Patch Changes
e2dac8b: Support for custom provider name in google and anthropic providersv2.0.42Compare Source
Patch Changes
035b927: fix: set providerExecuted on Anthropic web_fetch tool resultsv2.0.41Compare Source
Patch Changes
51aa5de: backport: test server51aa5de]v2.0.40[Compare Source](https://redirect.
Configuration
📅 Schedule: (in timezone Asia/Jerusalem)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.